home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: news.ridgecrest.ca.us!usenet
- From: mojaveg@ridgecrest.ca.us (Everett M. Greene)
- Subject: Re: Sorting a list
- X-Nntp-Posting-Host: annex034
- Content-Type: text/plain; charset=iso-8859-1
- Message-ID: <19960321.7D0ECE0.76B4@mojaveg.ridgecrest.ca.us>
- Sender: usenet@ridgecrest.ca.us (Ridgenet Usenet admin)
- Content-Transfer-Encoding: 8bit
- Organization: none that you'd notice
- X-Newssoftware: GRn 2.1 Feb 19, 1994
- References: <272.6650T63T1340@sn.no> <314F9F68.48E2@sapiens.com>
- Mime-Version: 1.0
- Date: Thu, 21 Mar 1996 15:57:35 GMT
-
- In article <314F9F68.48E2@sapiens.com> Avi Lev <avil@sapiens.com> writes:
- > Christopher Naas wrote:
- > >
- > > What's the absolutely fastest algorithm for sorting a List with around 1000
- > > items alphabetically?
- > well, the fastest way is no doubt, bubble sort!!!
-
- The recommendation of bubble sort was meant as a joke,
- wasn't it? Any and all sorting algorithms are faster
- than bubble sort.
-
- > but you have to perform the sort on a
- > list of pointers to the strings not on the strings themselves
-
- How does one alphabetize the pointers?
-
- > otherwise it'll be slower.
-
- -----------------------------------------------------------------------
- Everett M. Greene (The Mojave Greene, crotalus scutulatus scutulatus)
- Ridgecrest, Ca. 93555 Path: mojaveg@ridgecrest.ca.us
-